package demo5;

import org.springframework.stereotype.Component;

@Component
public class Sweater implements Clothes{
    @Override
    public void wear() {
        System.out.println("穿毛衣");
    }
}
